﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.Models
{
    [Table("PhuongTien")]
    public class PhuongTien : BaseModel
    {
        public int Id { get; set; }

        [Required]
        [MaxLength(255)]
        public string Ten { get; set; }

        public virtual PhanLoaiChiTietPhuongTien PhanLoaiChiTietPhuongTiens { get; set; }        
    }
}
